<div class="container-fluid" style="margin: 0px 15px 0px 15px;">
<ol class="breadcrumb">
  <li><a href="<?php echo base_url('/index.php/inicio');?>">Início</a></li>
  <li><a href="<?php echo base_url('index.php/ausentes/consulta');?>">Processo</a></li>
  <li class="active">Redistribuição</li>
</ol>
		
		
		<?php
			foreach($dados as $a){
				echo '<table class="table table-hover">';
				echo "<tr><th colspan='4' style='font-size:14px;'><img style='padding-right:2px;' src='".base_url('includes/images/adv.png')."'>".$a[0].'</th></tr>';
				foreach($a as $p){
					$i = 0;
					
					foreach($p as $x){
						if($i == '0'){
							echo "<td style='width:100px;'>".$x."</td>";
						}elseif($i == '1'){
							$id = $x;
						}elseif($i == '2'){
							echo "<td><a href='".base_url('index.php/processos/info/'.$id)."'>".$x."</a></td>";
						}elseif($i == '3'){
							echo "<td>".$x."</td>";
						}elseif($i == '4'){
							echo "<td><img style='padding-right:10px;' src='".base_url('includes/images/arrow.png')."'>".$x."</td>";
						}else{
							echo "<td>".$x."</td>";
						}
						
						$i++;
					} 
					echo "</tr>";
				}
				echo '</table><br/>';
			}
		
		?>
		
		

</div>
</body>
</html>